﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;
namespace SQT.tracnghiem.Ajax.ASP.Accountant
{
    public partial class add_bill : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = int.Parse(Request.QueryString["id"]);
            int fee = int.Parse(Request.QueryString["fee"]);
            int packet = int.Parse(Request.QueryString["packet"]);
            DateTime exp = DateTime.Parse(Request.QueryString["exp"]);

            new TblStudyFeeController().Insert(id, fee, packet, DateTime.Now, exp, true, int.Parse(Session["admin_id"].ToString()), int.Parse(Session["admin_id"].ToString()));
        }
    }
}